package com.deyuanyun.pic.pig.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;

import com.deyuanyun.pic.common.spring.SpringAppliction;
import com.deyuanyun.pic.pig.mapper.PigTaskMapper;
import com.deyuanyun.pic.pig.service.PiggingUtilService;
@Service
public class PiggingUtilServiceImpl implements PiggingUtilService {

	@SuppressWarnings("rawtypes")
	@Override
	public List searchImg(Map<String, Object> map) {
		PigTaskMapper pigTaskMapper = SpringAppliction.getBean(PigTaskMapper.class);
		List imgList =  pigTaskMapper.getAttachmentImgByTaskId(map);
		return imgList;
	}

}
